#/bin/bash
echo "# Standard host addresses" > /etc/hosts
echo "127.0.0.1  localhost" >> /etc/hosts
echo "::1        localhost ip6-localhost ip6-loopback" >> /etc/hosts
echo "ff02::1    ip6-allnodes" >> /etc/hosts
echo "ff02::2    ip6-allrouters" >> /etc/hosts
echo "# This host address" >> /etc/hosts
echo "127.0.1.1  manjaro" >> /etc/hosts
echo "" >> /etc/hosts
wget https://gitee.com/fliu2476/github-hosts/raw/main/hosts
cat hosts >> /etc/hosts
rm hosts
